package cn.sdormitory.basedata.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@TableName("b_course")
public class BCourse implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @ApiModelProperty(value = "ID")
    private Long id;

    private Long subjectId;

    @TableField(exist = false)
    private String subjectName;

    private String courseName;

    private String courseNo;

    private String sectionNo;

    private String courseSection;

    private String courseTerm;

    private String courseType;

    private String status;

    private Date createTime;

    private String createBy;

    private Date modifyTime;

    private String modifyBy;

    @TableField(exist = false)
    private List<BCourse> sectionList;

    @TableField(exist = false)
    private List<BCourse> children;
}
